package com.cytech.cloudclinic.adapter.provide;

import com.chad.library.adapter.base.entity.node.BaseExpandNode;
import com.chad.library.adapter.base.entity.node.BaseNode;

import java.util.List;

public class FirstNode extends BaseExpandNode {

    private List<BaseNode> childNode;
    private String value;

    public FirstNode(List<BaseNode> childNode, String value) {
        this.childNode = childNode;
        this.value = value;
    }

    public String getValue() {
        return value;
    }

    @Override
    public List<BaseNode> getChildNode() {
        return childNode;
    }
}
